package com.hema.auction.bean;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

/**
 * 描述:不中包赔反币对象
 * 作者:john
 */
public class BackConfig {

    /**
     * id : 1
     * auc_number : 5
     * ret_number : 3
     * sum_cost : 150
     */

    @SerializedName("id")
    private String id;
    @SerializedName("auc_number")
    private String aucNumber;
    @SerializedName("ret_number")
    private String retNumber;
    @SerializedName("sum_cost")
    private float sumCost;

    public static BackConfig objectFromData(String str) {

        return new Gson().fromJson(str, BackConfig.class);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAucNumber() {
        return aucNumber;
    }

    public void setAucNumber(String aucNumber) {
        this.aucNumber = aucNumber;
    }

    public String getRetNumber() {
        return retNumber;
    }

    public void setRetNumber(String retNumber) {
        this.retNumber = retNumber;
    }

    public float getSumCost() {
        return sumCost;
    }

    public void setSumCost(float sumCost) {
        this.sumCost = sumCost;
    }
}
